figure counting